package com.zhifa.hdtyg_cdgl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@ServletComponentScan
@EnableTransactionManagement
@MapperScan("com.zhifa.hdtyg_cdgl.dao")//将项目中对应的mapper类的路径加进来就可以了
@EnableScheduling
@SpringBootApplication
public class HdtygCdglApplication {



    public static void main(String[] args) {
        SpringApplication.run(HdtygCdglApplication.class, args);
        System.out.println("==================启动完成！======================");
    }
}
